import request from '@/utils/request'

// 查询文旅康养资源信息列表
export function listAppOtherWlkszyResource(query) {
  return request({
    url: '/app/information/appOtherWlkszyResource/list',
    method: 'get',
    params: query
  })
}

// 查询文旅康养资源信息详细
export function getAppOtherWlkszyResource(id) {
  return request({
    url: '/app/information/appOtherWlkszyResource/' + id,
    method: 'get'
  })
}

// 新增文旅康养资源信息
export function addAppOtherWlkszyResource(data) {
  return request({
    url: '/app/information/appOtherWlkszyResource',
    method: 'post',
    data: data
  })
}

// 修改文旅康养资源信息
export function updateAppOtherWlkszyResource(data) {
  return request({
    url: '/app/information/appOtherWlkszyResource',
    method: 'put',
    data: data
  })
}

// 删除文旅康养资源信息
export function delAppOtherWlkszyResource(id) {
  return request({
    url: '/app/information/appOtherWlkszyResource/' + id,
    method: 'delete'
  })
}
